package com.wxxymakers.grademark.utils;

/**
 * @AUTHOR soft
 * @DATE 2018/12/24 1:44
 * @DESCRIBE
 */
public class NumUtils {

    public static boolean ltZero(Number number) {
        return number == null || number.intValue() < 0;
    }

    public static boolean lteZero(Number number) {
        return number == null || number.intValue() <= 0;
    }

    public static boolean gtZero(Number number) {
        return number != null && number.intValue() > 0;
    }

    public static boolean gteZero(Number number) {
        return number != null && number.intValue() >= 0;
    }
}
